package com.lzw.security.service;

import com.lzw.security.entity.*;
import com.lzw.security.exception.MysqlUpdateException;
import com.lzw.security.exception.TidcNulException;
import com.lzw.security.ov.UserOV;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author ：冯涛滔
 * @date ：Created in 2020-3-28 22:33
 * @description：
 * @modified By：
 * @version:
 */
public interface DeleteService {
    UserOV<Integer> deleteCategory(Category category) throws TidcNulException, MysqlUpdateException;
    UserOV<Integer> deleteCommodity(Commodity commodity) throws TidcNulException;
    UserOV<Integer> deleteSectill(Seckill seckill);
    UserOV<Integer> deleteDosing(Dosing dosing);
//    UserOV<Integer> deleteDosingInCommodity(DosingCommodity dosingCommodity);
    UserOV<Integer> deleteCart(Cart cart);
    UserOV<Integer> deleteAccessoryDosing(AccessoryDosing accessoryDosing);
    UserOV<Integer> deleteCommodityAccessory(CommodityAccessory commodityAccessory);
    UserOV<Integer> deleteAccessory( Accessory Accessory);
    UserOV<Integer> deleteCoupon(Coupon coupon);
}
